﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.ApplicationModel;

namespace CorpStore.Models
{
    /// <summary>
    /// This class represents a group of app groups.  It also contains a dictionary
    /// of various settings which is dervied from commonCatalog.json, "Settings"
    /// section.
    /// </summary>
    public class PackageInfoGroupList
    {
        public Dictionary<string, string> Settings { get; set; }            // any settings which apply to this list of app groups    
        public List<PackageInfoGroup> Groups { get; set; }                  // list of application groups
        public List<PackageInfo> FeaturedApps { get; set; }                 // list of features apps found in any of the app groups

        public PackageInfoGroupList()
        {
            Settings = new Dictionary<string, string>();
            Groups = new List<PackageInfoGroup>();
            FeaturedApps = new List<PackageInfo>();
        }
    }
}
